export default class UrlValidator {
  static isHttpUrl (url) {
    return url.toLowerCase().startsWith('http://')
  }

  static isHttpsUrl (url) {
    return url.toLowerCase().startsWith('https://')
  }

  static isHttpOrHttpsUrl (url) {
    return this.isHttpsUrl(url) || this.isHttpUrl(url)
  }
}